package com.personal.website.lottery.web.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class DoubleColorBallExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = -1;

    protected int limitLength = -1;

    public DoubleColorBallExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitLength(int limitLength) {
        this.limitLength=limitLength;
    }

    public int getLimitLength() {
        return limitLength;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIssueIsNull() {
            addCriterion("issue is null");
            return (Criteria) this;
        }

        public Criteria andIssueIsNotNull() {
            addCriterion("issue is not null");
            return (Criteria) this;
        }

        public Criteria andIssueEqualTo(Integer value) {
            addCriterion("issue =", value, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueNotEqualTo(Integer value) {
            addCriterion("issue <>", value, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueGreaterThan(Integer value) {
            addCriterion("issue >", value, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueGreaterThanOrEqualTo(Integer value) {
            addCriterion("issue >=", value, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueLessThan(Integer value) {
            addCriterion("issue <", value, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueLessThanOrEqualTo(Integer value) {
            addCriterion("issue <=", value, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueIn(List<Integer> values) {
            addCriterion("issue in", values, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueNotIn(List<Integer> values) {
            addCriterion("issue not in", values, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueBetween(Integer value1, Integer value2) {
            addCriterion("issue between", value1, value2, "issue");
            return (Criteria) this;
        }

        public Criteria andIssueNotBetween(Integer value1, Integer value2) {
            addCriterion("issue not between", value1, value2, "issue");
            return (Criteria) this;
        }

        public Criteria andRedOneIsNull() {
            addCriterion("red_one is null");
            return (Criteria) this;
        }

        public Criteria andRedOneIsNotNull() {
            addCriterion("red_one is not null");
            return (Criteria) this;
        }

        public Criteria andRedOneEqualTo(String value) {
            addCriterion("red_one =", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneNotEqualTo(String value) {
            addCriterion("red_one <>", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneGreaterThan(String value) {
            addCriterion("red_one >", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneGreaterThanOrEqualTo(String value) {
            addCriterion("red_one >=", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneLessThan(String value) {
            addCriterion("red_one <", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneLessThanOrEqualTo(String value) {
            addCriterion("red_one <=", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneLike(String value) {
            addCriterion("red_one like", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneNotLike(String value) {
            addCriterion("red_one not like", value, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneIn(List<String> values) {
            addCriterion("red_one in", values, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneNotIn(List<String> values) {
            addCriterion("red_one not in", values, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneBetween(String value1, String value2) {
            addCriterion("red_one between", value1, value2, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedOneNotBetween(String value1, String value2) {
            addCriterion("red_one not between", value1, value2, "redOne");
            return (Criteria) this;
        }

        public Criteria andRedTwoIsNull() {
            addCriterion("red_two is null");
            return (Criteria) this;
        }

        public Criteria andRedTwoIsNotNull() {
            addCriterion("red_two is not null");
            return (Criteria) this;
        }

        public Criteria andRedTwoEqualTo(String value) {
            addCriterion("red_two =", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoNotEqualTo(String value) {
            addCriterion("red_two <>", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoGreaterThan(String value) {
            addCriterion("red_two >", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoGreaterThanOrEqualTo(String value) {
            addCriterion("red_two >=", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoLessThan(String value) {
            addCriterion("red_two <", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoLessThanOrEqualTo(String value) {
            addCriterion("red_two <=", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoLike(String value) {
            addCriterion("red_two like", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoNotLike(String value) {
            addCriterion("red_two not like", value, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoIn(List<String> values) {
            addCriterion("red_two in", values, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoNotIn(List<String> values) {
            addCriterion("red_two not in", values, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoBetween(String value1, String value2) {
            addCriterion("red_two between", value1, value2, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedTwoNotBetween(String value1, String value2) {
            addCriterion("red_two not between", value1, value2, "redTwo");
            return (Criteria) this;
        }

        public Criteria andRedThreeIsNull() {
            addCriterion("red_three is null");
            return (Criteria) this;
        }

        public Criteria andRedThreeIsNotNull() {
            addCriterion("red_three is not null");
            return (Criteria) this;
        }

        public Criteria andRedThreeEqualTo(String value) {
            addCriterion("red_three =", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeNotEqualTo(String value) {
            addCriterion("red_three <>", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeGreaterThan(String value) {
            addCriterion("red_three >", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeGreaterThanOrEqualTo(String value) {
            addCriterion("red_three >=", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeLessThan(String value) {
            addCriterion("red_three <", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeLessThanOrEqualTo(String value) {
            addCriterion("red_three <=", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeLike(String value) {
            addCriterion("red_three like", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeNotLike(String value) {
            addCriterion("red_three not like", value, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeIn(List<String> values) {
            addCriterion("red_three in", values, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeNotIn(List<String> values) {
            addCriterion("red_three not in", values, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeBetween(String value1, String value2) {
            addCriterion("red_three between", value1, value2, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedThreeNotBetween(String value1, String value2) {
            addCriterion("red_three not between", value1, value2, "redThree");
            return (Criteria) this;
        }

        public Criteria andRedFourIsNull() {
            addCriterion("red_four is null");
            return (Criteria) this;
        }

        public Criteria andRedFourIsNotNull() {
            addCriterion("red_four is not null");
            return (Criteria) this;
        }

        public Criteria andRedFourEqualTo(String value) {
            addCriterion("red_four =", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourNotEqualTo(String value) {
            addCriterion("red_four <>", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourGreaterThan(String value) {
            addCriterion("red_four >", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourGreaterThanOrEqualTo(String value) {
            addCriterion("red_four >=", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourLessThan(String value) {
            addCriterion("red_four <", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourLessThanOrEqualTo(String value) {
            addCriterion("red_four <=", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourLike(String value) {
            addCriterion("red_four like", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourNotLike(String value) {
            addCriterion("red_four not like", value, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourIn(List<String> values) {
            addCriterion("red_four in", values, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourNotIn(List<String> values) {
            addCriterion("red_four not in", values, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourBetween(String value1, String value2) {
            addCriterion("red_four between", value1, value2, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFourNotBetween(String value1, String value2) {
            addCriterion("red_four not between", value1, value2, "redFour");
            return (Criteria) this;
        }

        public Criteria andRedFiveIsNull() {
            addCriterion("red_five is null");
            return (Criteria) this;
        }

        public Criteria andRedFiveIsNotNull() {
            addCriterion("red_five is not null");
            return (Criteria) this;
        }

        public Criteria andRedFiveEqualTo(String value) {
            addCriterion("red_five =", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveNotEqualTo(String value) {
            addCriterion("red_five <>", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveGreaterThan(String value) {
            addCriterion("red_five >", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveGreaterThanOrEqualTo(String value) {
            addCriterion("red_five >=", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveLessThan(String value) {
            addCriterion("red_five <", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveLessThanOrEqualTo(String value) {
            addCriterion("red_five <=", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveLike(String value) {
            addCriterion("red_five like", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveNotLike(String value) {
            addCriterion("red_five not like", value, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveIn(List<String> values) {
            addCriterion("red_five in", values, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveNotIn(List<String> values) {
            addCriterion("red_five not in", values, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveBetween(String value1, String value2) {
            addCriterion("red_five between", value1, value2, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedFiveNotBetween(String value1, String value2) {
            addCriterion("red_five not between", value1, value2, "redFive");
            return (Criteria) this;
        }

        public Criteria andRedSixIsNull() {
            addCriterion("red_six is null");
            return (Criteria) this;
        }

        public Criteria andRedSixIsNotNull() {
            addCriterion("red_six is not null");
            return (Criteria) this;
        }

        public Criteria andRedSixEqualTo(String value) {
            addCriterion("red_six =", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixNotEqualTo(String value) {
            addCriterion("red_six <>", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixGreaterThan(String value) {
            addCriterion("red_six >", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixGreaterThanOrEqualTo(String value) {
            addCriterion("red_six >=", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixLessThan(String value) {
            addCriterion("red_six <", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixLessThanOrEqualTo(String value) {
            addCriterion("red_six <=", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixLike(String value) {
            addCriterion("red_six like", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixNotLike(String value) {
            addCriterion("red_six not like", value, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixIn(List<String> values) {
            addCriterion("red_six in", values, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixNotIn(List<String> values) {
            addCriterion("red_six not in", values, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixBetween(String value1, String value2) {
            addCriterion("red_six between", value1, value2, "redSix");
            return (Criteria) this;
        }

        public Criteria andRedSixNotBetween(String value1, String value2) {
            addCriterion("red_six not between", value1, value2, "redSix");
            return (Criteria) this;
        }

        public Criteria andBlueIsNull() {
            addCriterion("blue is null");
            return (Criteria) this;
        }

        public Criteria andBlueIsNotNull() {
            addCriterion("blue is not null");
            return (Criteria) this;
        }

        public Criteria andBlueEqualTo(String value) {
            addCriterion("blue =", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueNotEqualTo(String value) {
            addCriterion("blue <>", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueGreaterThan(String value) {
            addCriterion("blue >", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueGreaterThanOrEqualTo(String value) {
            addCriterion("blue >=", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueLessThan(String value) {
            addCriterion("blue <", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueLessThanOrEqualTo(String value) {
            addCriterion("blue <=", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueLike(String value) {
            addCriterion("blue like", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueNotLike(String value) {
            addCriterion("blue not like", value, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueIn(List<String> values) {
            addCriterion("blue in", values, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueNotIn(List<String> values) {
            addCriterion("blue not in", values, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueBetween(String value1, String value2) {
            addCriterion("blue between", value1, value2, "blue");
            return (Criteria) this;
        }

        public Criteria andBlueNotBetween(String value1, String value2) {
            addCriterion("blue not between", value1, value2, "blue");
            return (Criteria) this;
        }

        public Criteria andDrawDateIsNull() {
            addCriterion("draw_date is null");
            return (Criteria) this;
        }

        public Criteria andDrawDateIsNotNull() {
            addCriterion("draw_date is not null");
            return (Criteria) this;
        }

        public Criteria andDrawDateEqualTo(Date value) {
            addCriterionForJDBCDate("draw_date =", value, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("draw_date <>", value, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateGreaterThan(Date value) {
            addCriterionForJDBCDate("draw_date >", value, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("draw_date >=", value, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateLessThan(Date value) {
            addCriterionForJDBCDate("draw_date <", value, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("draw_date <=", value, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateIn(List<Date> values) {
            addCriterionForJDBCDate("draw_date in", values, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("draw_date not in", values, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("draw_date between", value1, value2, "drawDate");
            return (Criteria) this;
        }

        public Criteria andDrawDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("draw_date not between", value1, value2, "drawDate");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolIsNull() {
            addCriterion("current_prize_pool is null");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolIsNotNull() {
            addCriterion("current_prize_pool is not null");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolEqualTo(String value) {
            addCriterion("current_prize_pool =", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolNotEqualTo(String value) {
            addCriterion("current_prize_pool <>", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolGreaterThan(String value) {
            addCriterion("current_prize_pool >", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolGreaterThanOrEqualTo(String value) {
            addCriterion("current_prize_pool >=", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolLessThan(String value) {
            addCriterion("current_prize_pool <", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolLessThanOrEqualTo(String value) {
            addCriterion("current_prize_pool <=", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolLike(String value) {
            addCriterion("current_prize_pool like", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolNotLike(String value) {
            addCriterion("current_prize_pool not like", value, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolIn(List<String> values) {
            addCriterion("current_prize_pool in", values, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolNotIn(List<String> values) {
            addCriterion("current_prize_pool not in", values, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolBetween(String value1, String value2) {
            addCriterion("current_prize_pool between", value1, value2, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andCurrentPrizePoolNotBetween(String value1, String value2) {
            addCriterion("current_prize_pool not between", value1, value2, "currentPrizePool");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoIsNull() {
            addCriterion("prize_info is null");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoIsNotNull() {
            addCriterion("prize_info is not null");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoEqualTo(String value) {
            addCriterion("prize_info =", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotEqualTo(String value) {
            addCriterion("prize_info <>", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoGreaterThan(String value) {
            addCriterion("prize_info >", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoGreaterThanOrEqualTo(String value) {
            addCriterion("prize_info >=", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoLessThan(String value) {
            addCriterion("prize_info <", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoLessThanOrEqualTo(String value) {
            addCriterion("prize_info <=", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoLike(String value) {
            addCriterion("prize_info like", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotLike(String value) {
            addCriterion("prize_info not like", value, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoIn(List<String> values) {
            addCriterion("prize_info in", values, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotIn(List<String> values) {
            addCriterion("prize_info not in", values, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoBetween(String value1, String value2) {
            addCriterion("prize_info between", value1, value2, "prizeInfo");
            return (Criteria) this;
        }

        public Criteria andPrizeInfoNotBetween(String value1, String value2) {
            addCriterion("prize_info not between", value1, value2, "prizeInfo");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}